﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CApp_Starts
{

    public class Grid
    {

        public int X { get; set; }

        public int Y { get; set; }
        public bool YunDong { get; set; }

        public int XY { get { return this.X * this.Y; } }

        public Grid()
        {
            X = -1;
            Y = -1;
            YunDong = false;
        }

        public Grid(int x, int y)
        {
            X = x;
            Y = y;
            YunDong = true;
        }

    }
}
